NevronOpenVision
Nevron.Nov.Graphics Namespace / NRaster Class / NRaster Constructor / NRaster Constructor(Int32,Int32,NColor[])
Width of the raster (in pixels). Must be greater than zero.
Height of the raster (in pixels). Must be greater than zero.
A byte array containing the raster's pixel data.
In This Topic
    NRaster Constructor(Int32,Int32,NColor[])
    In This Topic
    Creates a new raster with the specified pixel data, width, height and pixel format.
    Syntax
    public NRaster( 
       System.int width,
       System.int height,
       NColor[] data
    )

    Parameters

    width
    Width of the raster (in pixels). Must be greater than zero.
    height
    Height of the raster (in pixels). Must be greater than zero.
    data
    A byte array containing the raster's pixel data.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also